/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
*                                                                  *
*        *************************************************         *
*        *©2021-2031 HT  Corporation All rights reserved *         *
*        *************************************************         *
*                                                                  *
* FileName    : h_avs.c                                            *
*                                                                  *
* Author      : linus                                              *
*                                                                  *
* Email       : luoyaojun@haitutech.com                            *
*                                                                  *
* Date        : 2022-11-5                                          *
*                                                                  *
* Description :                                                    *
*                                                                  *
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
#include "h_avs.h"
//#include "ht_avs.h"


HT_S32 ht_avs_init(void)
{
	struct ht_avs *pavs = HT_MPP_HANDLE_AVS;
	HT_S32 ret = -1;
	
	if (pavs && pavs->avs_init)
		ret = pavs->avs_init(pavs);

	return ret;
}

HT_S32 ht_avs_module_register(struct ht_avs *pavs)
{
    return (ht_register_modules(pavs->m_id, (HT_HANDLE)pavs));
}

